// UsbPhTestDlg.h : header file
//

#if !defined(AFX_USBPHTESTDLG_H__FF0D636B_5674_4873_9B06_D74AF02131F5__INCLUDED_)
#define AFX_USBPHTESTDLG_H__FF0D636B_5674_4873_9B06_D74AF02131F5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CUsbPhTestDlg dialog
#include "PhoneApp.h"
#include "TestDlg.h"
#include "About.h"
#include "TmSetting.h"

class CUsbPhTestDlg : public CDialog
{
// Construction
public:
	INT m_OnlineTimer;
	int m_bRun;
    int m_addins;
    int m_nLastCmd;
	CUsbPhTestDlg(CWnd* pParent = NULL);	// standard constructor

    void FreshTrace();

// Dialog Data
	//{{AFX_DATA(CUsbPhTestDlg)
	enum { IDD = IDD_USBPHTEST_DIALOG };
	CListCtrl	m_oMsg;
	CTabCtrl	m_MainTable;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUsbPhTestDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CUsbPhTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg LONG OnUsbEvent(WPARAM wParam, LPARAM lParam);
    afx_msg LONG OnMsgShowMain(WPARAM wParam, LPARAM lParam);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	afx_msg void OnMenuSetFilter();
	afx_msg void OnMenuNoFilter();
	afx_msg void OnMenuUsbOnline();
	afx_msg void OnRclickMsgList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnMenuCopytext();
	afx_msg void OnMenuCleraRx();
	afx_msg void OnMenuSelall();
	afx_msg void OnMenuNewitem();
	afx_msg void OnExport();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_USBPHTESTDLG_H__FF0D636B_5674_4873_9B06_D74AF02131F5__INCLUDED_)
